package com.jh.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jh.entity.InventoryTransactionDetailIn;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InventoryTransactionSelectDTO extends PublicPageQueryDTO {
    private Integer type;//类型：1-入库，2-出库

    private String transactionCode;//出入库单号

    private String source;//来源地/目的地

    private String remark;//备注

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime beginTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;
}
